package com.tk.service;

import java.awt.List;
import java.util.ArrayList;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.mysql.cj.jdbc.Blob;
import com.tk.entity.Hero;

public interface HeroService {
	public Hero login(String team, String hid, String pwd);
	public void logout(HttpServletRequest req, HttpServletResponse resp);
	public boolean exist(String hid);
	public void register(Hero hero);
	public void update(Hero hero);
	public ArrayList<Hero> findAll(int posnum);
	public void kill(String hid);
	public void setPos(String hid, int posnum);
}
